-- GENERATED SPELL FOR [Msshi'fn] --


function spell0_17924(pUnit, Event) --@Sporeskin,Self--
pUnit:FullCastSpellOnTarget(35230,pUnit)
pUnit:RegisterEvent('Sorts_17924', 567, 1)
end

function Sorts_17924(pUnit, Event)
local choix_sorts_17924 = math.random(0, 0)
if choix_sorts_17924 == 0 then
pUnit:RegisterEvent('spell0_17924', 1, 1)
end
end

function mob17924_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17924', math.random(1500, 3000), 1)
end

function mob17924_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17924_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17924_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17924, 1, 'mob17924_Action')
RegisterUnitEvent(17924, 2, 'mob17924_Leave')
RegisterUnitEvent(17924, 3, 'mob17924_Kill')
RegisterUnitEvent(17924, 4, 'mob17924_Die')
